<?php 
session_start();
include_once '../config/common.php';
	$username=$_POST["param"];
if(isset($username))
{

if($username!=$_SESSION['send_code']){ 
echo "验证码不正确，请获取验证码！";
}else{
echo "y";
 }
}
 
 
 
 
 /*
if($_POST){
	//echo '<pre>';print_r($_POST);print_r($_SESSION);
	if($_POST['mobile']!=$_SESSION['mobile'] or $_POST['mobile_code']!=$_SESSION['mobile_code'] or empty($_POST['mobile']) or empty($_POST['mobile_code'])){
		exit('手机验证码输入错误。');	
	}else{
		$_SESSION['mobile'] = '';
		$_SESSION['mobile_code'] = '';	
		exit('注册成功。');	
	}
}
*/
?>